<!DOCTYPE html>
<?php 
	session_start();
	//print_r($_SESSION);
	//print_r($_POST);
?>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Receipt page</title>
	<link rel="stylesheet" type="text/css" href="receipt.css">

</head>
<body>
	<div class="container">
		<div class="head">
			<div class="title">
				<h2>The Eternal Flame</h2>
			</div>
			<div class="content">
				<p>
					NAME :
					<span><?php echo $_SESSION['booking']['tmpidName']; ?></span>
				</p>
			</div>
		</div>
		<div class="ordersMsg">
			<div class="title">
				<h2>Order Information</h2>
			</div>
			<div class="content">
				<table>
					<thead>
						<tr>
							<th>ARRIVAL DATE</th>
							<th>STAY(days)</th>
							<th>Adults AMOUNT</th>
							<th>CHILDREN AMOUNT</th>
							<th>TOTAL PRICE(USD)</th>
							<th>INCLUDE GST(USD)</th>
						</tr>
					</thead>
					<tbody>	
						<tr>
							<td><?php echo $_SESSION['booking']['date']; ?></td>
							<td><?php echo $_SESSION['booking']['days']; ?></td>
							<td><?php echo $_SESSION['booking']['adults']; ?></td>
							<td><?php echo $_SESSION['booking']['children']; ?></td>
							<td>
								<span>$</span>
								<?php echo $_SESSION['booking']['totals']; ?>
							</td>
							<td>
								<span>$</span>
								<?php echo $_SESSION['booking']['gst']; ?>
							</td>
						</tr>
					</tbody>
				</table>
			</div>	
		</div>
		<div class="personalMsg">
			<div class="title">
				<h2>Customer Information</h2>
			</div>
			<div class="content">
				<table>
					<tbody>
						<tr>
							<td>ORDERER'S NAME : <span><?php echo $_SESSION['booking']['customer']['name']; ?></span></td>
							<td>ORDERER'S TELEPHONE :<span><?php echo $_SESSION['booking']['customer']['phonenumber']; ?></span></td>
						</tr>
						<tr>
							<td>ORDERER'S E-MAIl :<span><?php echo $_SESSION['booking']['customer']['email']; ?></span></td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		
	</div>
</body>
</html>